package com.zheng.umbrella.dao.mapper;

import com.zheng.umbrella.dao.model.UmbrellaHardwareMachine;
import com.zheng.umbrella.dao.model.UmbrellaHardwareMachineExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UmbrellaHardwareMachineMapper {
    long countByExample(UmbrellaHardwareMachineExample example);

    int deleteByExample(UmbrellaHardwareMachineExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UmbrellaHardwareMachine record);

    int insertSelective(UmbrellaHardwareMachine record);

    List<UmbrellaHardwareMachine> selectByExample(UmbrellaHardwareMachineExample example);

    UmbrellaHardwareMachine selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UmbrellaHardwareMachine record, @Param("example") UmbrellaHardwareMachineExample example);

    int updateByExample(@Param("record") UmbrellaHardwareMachine record, @Param("example") UmbrellaHardwareMachineExample example);

    int updateByPrimaryKeySelective(UmbrellaHardwareMachine record);

    int updateByPrimaryKey(UmbrellaHardwareMachine record);
}